home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1999 #2 / Amiga Plus CD - 1999 - No. 2.iso / System-Boost / Workbench / ToolManager / Source / Library / DMakefile < prev    next >
Makefile  |  1998-06-17  |  2KB  |  67 lines

  1. #
  2. # DMakefile  V3.1
  3. #
  4. # Makefile for ToolManager 3.1 (Library)
  5. #
  6. # Copyright (C) 1990-98 Stefan Becker
  7. #
  8. # This source code is for educational purposes only. You may study it
  9. # and copy ideas or algorithms from it for your own projects. It is
  10. # not allowed to use any of the source codes (in full or in parts)
  11. # in other programs. Especially it is not allowed to create variants
  12. # of ToolManager or ToolManager-like programs from this source code.
  13. #
  14. TMPDIR = T:
  15. PRE    = $(TMPDIR)tmlib.m
  16. FLAGS  = -3.1 -mi -mRR -ms
  17. IDIRS  = -I //Developer/C/include -I ///ScreenNotify/include \
  18.          -I ///WBStart/dev/c/include -I ///DOSPath/dev/c/include \
  19.          -I Work:PictureDT-V43/include
  20. #CFLAGS = $(FLAGS) -DDEBUG=1 -d1 $(IDIRS) -proto -H$(PRE)=toolmanager.h -c
  21. #CFLAGS = $(FLAGS) -DDEBUG=0 -d1 $(IDIRS) -proto -H$(PRE)=toolmanager.h -c
  22. CFLAGS = $(FLAGS) $(IDIRS) -proto -H$(PRE)=toolmanager.h -c
  23. #LFLAGS = $(FLAGS) -d1
  24. LFLAGS = $(FLAGS)
  25. #LIBS   = -l0 -ldebug -lamiga31 -lamiga31s -lc
  26. LIBS   = -l0 -lamiga31 -lc
  27.  
  28. CSRCS  = toolmanager.c handler.c handle.c config.c global.c \
  29.          window.c commodities.c appmsgs.c network.c screen.c commands.c \
  30.          base.c exec.c image.c sound.c menu.c icon.c dock.c \
  31.          group.c button.c entry.c \
  32.          clistart.c wbstart.c arexx.c cmdline.c \
  33.          locale.c memory.c misc.c debug.c
  34. COBJS  = $(CSRCS:"*.c":"$(TMPDIR)lib*.o")
  35. DOBJ   = $(COBJS:"*debug.o")
  36. MEOBJ  = $(COBJS:"*memory.o")
  37. MIOBJ  = $(COBJS:"*misc.o")
  38. AOBJ   = $(TMPDIR)libboopsi.o
  39.  
  40. DEST   = //libs/toolmanager.library
  41.  
  42. all      : $(DEST)
  43.  
  44. $(DEST)  : $(COBJS) $(AOBJ)
  45.          dcc $(LFLAGS) -o %(left) %(right) $(LIBS)
  46.  
  47. $(COBJS) : $(CSRCS)
  48.          dcc $(CFLAGS) -o %(left) %(right)
  49.  
  50. $(COBJS) : $(PRE)
  51.  
  52. $(DOBJ)  : /global_debug.c
  53.  
  54. $(MEOBJ) : /global_memory.c
  55.  
  56. $(MIOBJ) : /global_misc.c
  57.  
  58. $(AOBJ)  : /global_boopsi.a
  59.          das -o %(left) %(right)
  60.  
  61. $(PRE)   : toolmanager.h //Developer/C/include/libraries/toolmanager.h \
  62.            /global.h DMakefile
  63.          -Delete %(left) QUIET
  64.  
  65. clean    :
  66.          -Delete $(PRE) $(COBJS) $(AOBJ) QUIET
  67.